projects
/
git-annex.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9619f56
)
assist: fix bug commiting just added file
author
Joey Hess
<joeyh@joeyh.name>
Thu, 18 May 2023 18:56:13 +0000
(14:56 -0400)
committer
Joey Hess
<joeyh@joeyh.name>
Thu, 18 May 2023 18:56:13 +0000
(14:56 -0400)
Command/Assist.hs
patch
|
blob
|
history
diff --git
a/Command/Assist.hs
b/Command/Assist.hs
index aaa8ea03765723d5a690754729b9ab919218bde0..de26d6c87a5b368e53516e5bb2bfbadacab183c8 100644
(file)
--- a/
Command/Assist.hs
+++ b/
Command/Assist.hs
@@
-11,6
+11,7
@@
import Command
import qualified Command.Sync
import qualified Command.Add
import Annex.CheckIgnore
+import qualified Annex.Queue
cmd :: Command
cmd = withAnnexOptions [jobsOption, backendOption] $
@@
-32,6
+33,8
@@
myseek o = startConcurrency transferStages $ do
, Command.Add.checkGitIgnoreOption = CheckGitIgnore (False)
, Command.Add.dryRunOption = DryRun False
}
-
+ -- Flush added files to index so they will be committed.
+ Annex.Queue.flush
+
Command.Sync.prepMerge
Command.Sync.seek' o